package io.renren.modules.quickService.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.form.AttachmentForm;
import io.renren.modules.quickService.entity.AttachmentEntity;

import java.util.List;
import java.util.Map;

/**
 * 附件表
 *
 * @author zenger380
 * @email zenger380@163.com
 * @date 2018-10-25 16:39:20
 */
public interface AttachmentService extends IService<AttachmentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 上传附件列表地址
     * @param attachmentsForms
     * @param bizType
     * @return
     */
    boolean saveAttachments(List<AttachmentForm> attachmentsForms, String bizId, String bizType);

    /**
     * 获取业务附件列表
     * @param bizType
     * @param bizId
     * @return
     */
    List<AttachmentEntity> attachmentList(String bizType,String bizId);



}

